﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Produtos.master" AutoEventWireup="true" CodeBehind="Produtos.aspx.cs" Inherits="MakeIT.Deo.Apresentacao.Produtos" %>

<asp:Content ID="Content3" ContentPlaceHolderID="cphPrd" runat="server">
   
    <asp:Repeater ID="RepeaterFamilia" runat="server">
        <HeaderTemplate>
            <table border="0" cellpadding="5" cellspacing="5">
                <tr>
        </HeaderTemplate>
        
        <ItemTemplate>
                <%# (Container.ItemIndex!=0 && Container.ItemIndex%4==0?"</tr><tr>":"") %>
                <td align="center" valign="bottom" style="width:210px; font-family:Arial Black; border:dashed 1px #c0c0c0; background-color:#e0e0e0;">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl=<%#"~/ProdutosSubFamilia.aspx?idFamilia="+Eval("idFamilia") %> forecolor="#3b2194">
                                    <%# DataBinder.Eval(Container.DataItem,"familia").ToString().ToUpper() %>
                                </asp:HyperLink>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" valign="middle" style="width:200px; height:200px;">
                                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl=<%#"~/ProdutosSubFamilia.aspx?idFamilia="+Eval("idFamilia") %> forecolor="#3b2194">
                                    <asp:Image ID="Image1" style="max-width:200px; max-height:200px;" runat="server" ImageUrl=<%#"~/DownFamilia.aspx?idFamilia="+Eval("idFamilia") %>/>
                                </asp:HyperLink>
                            </td>
                        </tr>
                    </table>
                </td>
        </ItemTemplate>
        
        <SeparatorTemplate>
        </SeparatorTemplate>
        
        <FooterTemplate>
               </tr>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    
</asp:Content> 
